package com.jiayu.wheel.config;


import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author Administrator
 */
@Component
@ConfigurationProperties("environment")
@Data
public class ApplicationConfig {

    @Value("name")
    private String name;

}
